<!DOCTYPE HTML>
<html lang="en">
<head>
  {% block head %}
  <link href="/stylesheets/bootstrap.min.css" rel="stylesheet" media="screen"/>
  <script type="text/javascript" src="/src/jquery.js"></script>
  <script type="text/javascript" src="/src/bootstrap.min.js"></script> <!-- estilo -->
  <style type="text/css">
  {% block style %}


    body{
      padding-top: 70px;

    }


  {% endblock style %}
  </style>
  
  <title>{% block title %}{% endblock %}</title>
  {% endblock %}
</head>
<body>

  {% block navbar %}
  <div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
        <a class="brand" href="#">DOSPADEL</a>
        <div class="nav-collapse collapse">
          <ul class="nav">
              <li {% block activehome %}{% endblock activehome %}><a href="/">Home</a></li>
              <li {% block activeallproducts %}{% endblock activeallproducts %}><a href="/products">All products</a></li>
              {% if user %}<li {% block activemyreserves%}{% endblock %}><a href="/reserves">My reserves</a></li>{% endif %}
              {% if admin %}<li {% block activenewproduct%}{% endblock %}><a href="/new_product">New product</a></li>{% endif %}
              {% if admin %}<li {% block activeadmin%}{% endblock %}><a href="/admin">Admin</a></li>{% endif %}
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown"> {{user}} <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="{{url}}">{{url_text}}</a></li>
                </ul>
              </li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>
  </div>
  {% endblock navbar %}

  <div class="wrapper">
    {% block header %}{% endblock header%}
    <div class="container">
      {% block content %}
      <div class="page-header">
	       {% block page_header %}
	       {% endblock page_header %}
      </div>
      
      <div class="breadcrumb">
	      {% block breadcrumb %}
	      {% endblock breadcrumb %}
      </div>
      {% endblock content %}
    </div>
  </div>
  


</body>
</html>
